//
//  NSArray+Safe.m
//  GTMC_CarOwner_Yonyou
//
//  Created by mac on 16/8/27.
//  Copyright © 2016年 yongyou. All rights reserved.
//

#import "NSArray+Safe.h"

@implementation NSArray (Safe)

-(id)safeObjectAtIndex:(NSInteger)index{
    if (index>self.count) {
        return nil;
    }
    
    return [self objectAtIndex:index];
}
@end
